﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.Generic
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.CharacterTalentsSchema

    Public Class talentGroup

        Private intActive As Integer
        Private intGroup As Integer
        Private strIcon As String
        Private strKey As String
        Private intOrder As Integer
        Private strPrim As String
        Private tsTalentSpec As New List(Of talentSpec)
        Private gGlyphs As New List(Of glyphs)

        <XmlAttribute()> Public Property active() As Integer
            Get
                Return intActive
            End Get
            Set(ByVal value As Integer)
                intActive = value
            End Set
        End Property

        <XmlAttribute()> Public Property group() As Integer
            Get
                Return intGroup
            End Get
            Set(ByVal value As Integer)
                intGroup = value
            End Set
        End Property

        <XmlAttribute()> Public Property icon() As String
            Get
                Return strIcon
            End Get
            Set(ByVal value As String)
                strIcon = value
            End Set
        End Property

        <XmlAttribute()> Public Property key() As String
            Get
                Return strKey
            End Get
            Set(ByVal value As String)
                strKey = value
            End Set
        End Property

        <XmlAttribute()> Public Property order() As Integer
            Get
                Return intOrder
            End Get
            Set(ByVal value As Integer)
                intOrder = value
            End Set
        End Property

        <XmlAttribute()> Public Property prim() As String
            Get
                Return strPrim
            End Get
            Set(ByVal value As String)
                strPrim = value
            End Set
        End Property

        <XmlElement()> Public Property talentSpec() As List(Of talentSpec)
            Get
                Return tsTalentSpec
            End Get
            Set(ByVal value As List(Of talentSpec))
                tsTalentSpec = value
            End Set
        End Property

        <XmlElement()> Public Property glyphs() As List(Of glyphs)
            Get
                Return gGlyphs
            End Get
            Set(ByVal value As List(Of glyphs))
                gGlyphs = value
            End Set
        End Property

    End Class

End Namespace